package com.hs.bai.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 创建订单基本信息
 * </p>
 *
 * @author Dingkun Bai
 * @since 2022-06-13
 */
@TableName("t_orderbasicinfo")
@ApiModel("订单基本信息实体")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Orderbasicinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 订单编号
     */
    private String id;

    /**
     * 客户订单编号
     */
    private Integer customerOrderId;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 客户合同
     */
    private String customerContract;

    /**
     * 订单来源
     */
    private Integer ordersources;

    /**
     * 订单类型
     */
    private Integer orderType;

    /**
     * 运输方式
     */
    private Integer transType;

    /**
     * 急单
     */
    private Integer urgentOrder;

    /**
     * 接单日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date receiptDate;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 备注
     */
    private String remarks;
}
